package cn.xxm.service;

import cn.xxm.pojo.ItemDoc;
import cn.xxm.pojo.RequestParams;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.common.pojo.Item;

import java.util.List;
import java.util.Map;

public interface SearchService extends IService<Item> {
    List<String> getStringList(String key);

    Map<String, List<String>> filters(RequestParams params);

    PageDTO<ItemDoc> listAll(RequestParams params);

    void getUpId(Long id);

    void getdownId(Long id);

}
